﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Newtor.VoteMan
{
    public interface IUsersOpinionManager
    {
        bool HasUserVoted(string userName, Guid voId);

        bool HasUserVoted(string userName, VoteItem vi);

        int GetBallot(Guid voId);

        void Poll(string userName, Guid voId);

        VoteOpinion GetUsersOpinion(VoteItem item, string userName);

        VoteOpinion GetBestOpinion(VoteItem item);
    }
}
